.header {
  min-width: 1200px;
  height: 41px;
  padding: 18px 0 15px 0;
  background: #fff;
  position: relative;
  font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
  line-height: 1.5;
  box-shadow: 0 0 46px rgba(0, 0, 0, 0.03);

  .logo {
    margin-right: 34px;
    position: relative;

    img {
      height: 36px;
    }
  }

  .nav {
    float: left;
    max-width: 533px;
    height: 40px;
    overflow: hidden;
  }
}

.nav-list {

  li {
    float: left;
    margin-right: 24px;

    &.img {
      margin-top: 5px;

      a:hover {
        opacity: .8;
      }

      img {
        height: 24px;
      }
    }
  }

  a {
    font-size: 16px;
    color: #333;
    position: relative;
    line-height: 40px;
    display: block;

    &:hover {
      color: #ca141d;
    }
  }
}

.search-bar {
  margin-top: 5px;
  background: #fff;
  border-radius: 16px 16px 0 0;
  position: relative;

  &-form {
    line-height: 1;
    width: 238px;
    height: 28px;
    background: #f0f0f0;
    border: 1px solid #c9c9c9;
    border-radius: 15px;
    position: relative;

    input {
      outline: none;
    }

    input[type="text"] {
      border: 0;
      color: #3a3a3a;
      width: 205px;
      text-indent: 15px;
      height: 30px;
      line-height: 30px;
      background: transparent;
      float: left;
    }

    input[type="submit"] {
      width: 35px;
      height: 30px;
      cursor: pointer;
      border: 0;
      overflow: hidden;
      position: absolute;
      background: transparent;
      padding-right: 10px;
      right: 0;
      top: 0;
      color: #353535;
      font-size: 0;
      z-index: 10;
    }

    &:after {
      content: '';
      display: block;
      width: 20px;
      height: 20px;
      background-position: -139px 0;
      position: absolute;
      top: 4px;
      right: 12px;
    }
  }

}

.nav-main {
  .layout {
    position: relative;
    z-index: 11;
  }
}

.nav-class {
  display: none;
  float: left;
  height: 56px;
  margin-left: -70px;
  width: 223px;
  position: relative;

  &:hover {
    cursor: pointer;
    a {
      color: #ca141d;
    }
    a.link:after {
      background-position: 0 -1px;
    }
  }
  a{
    color: #3a3a3a;
    &.link {
      font-size: 16px;
      margin-right: 24px;
      line-height: 40px;
      height: 56px;
      padding-left: 33px;
      position: relative;
      left: 70px;

      &:after {
        content: "";
        width: 24px;
        height: 24px;
        display: block;
        background: url(/images/icon-category.png) no-repeat 0 -25px;
        background-size: 100% 200%;
        position: absolute;
        top: -3px;
        left: 0;
      }
    }
  }
}
